<template>
  <div class="maintenance-record">
    <el-table :data="tableData" border>
      <el-table-column label="序号" type="index" width="50px"></el-table-column>
      <el-table-column
        prop="a"
        label="维护预警时间"
        width="150px"
      ></el-table-column>
      <el-table-column
        prop="a"
        label="维护周期"
        width="200px"
      ></el-table-column>
      <el-table-column prop="a" label="需维护内容"></el-table-column>
      <el-table-column
        prop="a"
        label="维护状态"
        width="100px"
      ></el-table-column>
      <el-table-column prop="a" label="操作" width="80px"></el-table-column>
    </el-table>
    <div class="pagination">
      <el-pagination
        background
        :page-size="pageVO.pageSize"
        :current-page.sync="pageVO.pageNum"
        :total="pageVO.total"
        :layout="pageOptions.layout"
        :page-sizes="pageOptions.pageSizes"
        @size-change="handleSizeChange"
        @current-change="handleCurrentChange"
      />
    </div>
  </div>
</template>

<script>
import pageQuery from "../../mixins/pageQuery";
export default {
  mixins: [pageQuery],
  data() {
    return {
      tableData: [],
    };
  },
  methods: {
    getTableData() {
      setTimeout(() => {
        this.tableData.push({ a: 1 });
      }, 1000);
      console.log("get maintenance tableData");
    },
  },
};
</script>

<style lang="scss" scoped>
.maintenance-record {
}
</style>
